/*
 * @(#)RuleBaseObject.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.rules.bean;

import java.util.List;

import org.mandarax.kernel.Fact;
import org.mandarax.kernel.Rule;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
 * <p>Class Name:  RuleBaseObject </p>
 * <p>Description: This class offer some function to get the rule member.</p>
 * 
 * @author          Tony Chen
 * @company         DCIVision Limited
 * @creation date   25/07/2005
 * @version         $Revision: 1.9 $
 */
public class RuleBaseObject extends AbstractBaseObject{
  
  private Rule ruleSource = null;
	private String ruleID = null;
	private String ruleName = null;
	private String ruleType = null;
	private String ruleCategory = null;
	private String ruleOwner = null;
	private String description = null;
	private String conditionRealtion = null;
	private String ruleSeqNo = null;
	private boolean applyOther = false;
	private String ruleEnable = null;
	
	private String prerequisiteRelation = null;	
	private List condition = null;
	private List conclusion = null;
	private List PrerequisiteList = null;
	private Fact ActionFact = null;
  private String detailDescription = null;
  
  private boolean isHighLight = false;
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getRuleCategory() {
		return ruleCategory;
	}
	
	public void setRuleCategory(String ruleCategory) {
		this.ruleCategory = ruleCategory;
	}

	public String getRuleName() {
		return ruleName;
	}
	
	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}
	
	public String getRuleOwner() {
		return ruleOwner;
	}
	
	public void setRuleOwner(String ruleOwner) {
		this.ruleOwner = ruleOwner;
	}
	
	public String getRuleType() {
		return ruleType;
	}
	
	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}
	
	public List getConclusion() {
		return conclusion;
	}
	
	public void setConclusion(List conclusion) {
		this.conclusion = conclusion;
	}
	
	public String getPrerequisiteRelation() {
		return prerequisiteRelation;
	}
	
	public void setPrerequisiteRelation(String prerequisiteRelation) {
		this.prerequisiteRelation = prerequisiteRelation;
	}
		
	public List getCondition() {
		return condition;
	}
	
	public void setCondition(List condition) {
		this.condition = condition;
	}
		
	public String getRuleID() {
		return ruleID;
	}
	
	public void setRuleID(String ruleID) {
		this.ruleID = ruleID;
	}
		
	public Fact getActionFact() {
		return ActionFact;
	}
	
	public void setActionFact(Fact actionFact) {
		ActionFact = actionFact;
	}
	
	public List getPrerequisiteList() {
		return PrerequisiteList;
	}
	
	public void setPrerequisiteList(List prerequisiteList) {
		PrerequisiteList = prerequisiteList;
	}
	
	public String getConditionRealtion() {
		return conditionRealtion;
	}
	
	public void setConditionRealtion(String conditionRealtion) {
		this.conditionRealtion = conditionRealtion;
	}
	
	public boolean isApplyOther() {
		return applyOther;
	}
	
	public void setApplyOther(boolean applyOther) {
		this.applyOther = applyOther;
	}
	
	public String getRuleSeqNo() {
		return ruleSeqNo;
	}
	
	public void setRuleSeqNo(String ruleSeqNo) {
		this.ruleSeqNo = ruleSeqNo;
	}	
	
	public String getRuleEnable() {
		return ruleEnable;
	}
	
	public void setRuleEnable(String ruleEnable) {
		this.ruleEnable = ruleEnable;
	}
	
	public Rule getRuleSource() {
		return ruleSource;
	}
	
	public void setRuleSource(Rule ruleSource) {
		this.ruleSource = ruleSource;
	}    
	
	public String getDetailDescription() {
		return detailDescription;
	}
  
	public void setDetailDescription(String detailDescription) {
		this.detailDescription = detailDescription;
	}
  
  public boolean getIsHighLight(){
    return this.isHighLight;
  }
  
  public void setIsHighLight(boolean isHighLight){
    this.isHighLight = isHighLight;
  }
  
}
